package com.zeng.jiudian.mapper;

import com.zeng.jiudian.bean.NewTypeModel;
import com.zeng.jiudian.bean.NewTypeModelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewTypeMapper
{
    long countByExample(NewTypeModelExample example);

    int deleteByExample(NewTypeModelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(NewTypeModel record);

    int insertSelective(NewTypeModel record);

    List<NewTypeModel> selectByExample(NewTypeModelExample example);

    NewTypeModel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") NewTypeModel record, @Param("example") NewTypeModelExample example);

    int updateByExample(@Param("record") NewTypeModel record, @Param("example") NewTypeModelExample example);

    int updateByPrimaryKeySelective(NewTypeModel record);

    int updateByPrimaryKey(NewTypeModel record);
}